import api from './baseUrl'
import axios from '../utils/require'
export default {

    resLogin:(params)=>{
        return axios.post(api.url+api.login,params)
    },
    getBanner:()=>{
        return axios.get(api.url+api.banner)
    },
    getChannel:()=>{
        return axios.get(api.url+api.channel)
    },
    getCategory:(params)=>{
        return axios.get(api.url+api.category,params)
    },
    getGoodsList:(params)=>{
        return axios.get(api.url+api.goods,params)
    }
}